/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.checkmissionoverview.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.modules.sys.entity.User;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 点检任务总览Entity
 * @author 刘明星
 * @version 2020-11-03
 */
@Data
public class CheckStandardMissionOverview extends DataEntity<CheckStandardMissionOverview> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="点检类型", dictType="check_standard_plan", align=2, sort=1)
	private String checkType;		// 点检类型
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开始时间", align=2, sort=2)
	private Date beginTime;		// 开始时间
	@ExcelField(title="周期", align=2, sort=3)
	private String cycle;		// 周期
	@ExcelField(title="点检人员", fieldType=User.class, value="checkPeople.name", align=2, sort=4)
	private User checkPeople;		// 点检人员
	
	public CheckStandardMissionOverview() {
		super();
	}
	
	public CheckStandardMissionOverview(String id){
		super(id);
	}
}